package com.sc.bean;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

/**
 * 封装响应结果
 */
@NoArgsConstructor
@AllArgsConstructor
@Data
@ApiModel("请求统一响应结果")
public class ResultBean<T> {
    @ApiModelProperty("响应码")
    private Integer code;
    @ApiModelProperty("响应消息")
    private String msg;
    @ApiModelProperty("返回数据")
    private T data;
}
